from gameset.phoenicia.base import *

from .bronze import Tools


class Rock(RawMaterial):
    singular =_ ('Rock')
    plural   =_ ('Rock')


class Stone(Rock):
    singular =_ ('Stone')
    plural   =_ ('Stone')


class Marble(Rock):
    singular =_ ('Marble')
    plural   =_ ('Marble')


class Quarry(Workshop):
    name     =_ ('Quarry')
    color    =_ (Black.with_value(0.4).with_saturation(0.5))
    cost     =_ (1000)
    staff    =_ (20)
    size     =_ (6)
    produces =_ (Production(                   output = Stone(10),  duration = 0.5),
                 Production(input  = Tools(1), output = Marble(10), duration = 0.5))
